ADMIN_User_HasFunction

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

Determines if a user has a specified function.

Return value: bit

Returns 1 if the user has the specified function otherwise 0.

Parameters

@UserID mandatory int
The id of the user to query.
@FunctionID mandatory int
The id of the function to query.