Contents

gss_userok(_:_:)

Returns a flag that indicates if a given user is authorized.

Declaration

func gss_userok(_ name: gss_name_t, _ user: UnsafePointer<CChar>) -> Int32

Parameters

  • name:

    A name object.

  • user:

    A C string that is first imported as a name object with name type Gss_c_nt_user_name and then authorized against the name object given by the first parameter.

Return Value

A non-zero integer when the user is authorized and zero otherwise.

See Also

Inquiries