SoftadminApi.User_HasFunction

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.
@FunctionAlias mandatory varchar(200)
The alias of the function to query.