# Method GSSAPI.Name()->export()

Method export

  `string export(void|string mech)`

Description

  Returns the name on the exported format. If mech isn't given then the name has to be a mechanism name (MN). If mech is given then the name is canonicalized according to that mechanism before being exported (see canonicalize).

  This wraps `GSS_Export_name` according to RFC 2743 section 2.4.15.

Note

  This function might block on network connections to remote authentication servers if mech is specified.