Skip to main content

◆ hasRole() [1/2]

HasRoleResponse kinetica.Kinetica.hasRole (HasRoleRequestrequest_)
inline

Checks if the specified user has the specified role.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 44112 of file KineticaFunctions.cs.

◆ hasRole() [2/2]

HasRoleResponse kinetica.Kinetica.hasRole (stringprincipal,
stringrole,
IDictionary< string, string >options = null )
inline

Checks if the specified user has the specified role.

Parameters
principalName of the user for which role membership is being checked. Must be an existing user. If blank, will use the current user. The default value is ”.
roleName of role to check for membership.
optionsOptional parameters.The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 44198 of file KineticaFunctions.cs.

◆ HasRoleAsync() [1/2]

async System.Threading.Tasks.Task< HasRoleResponse > kinetica.Kinetica.HasRoleAsync (HasRoleRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Checks if the specified user has the specified role.

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 44128 of file KineticaFunctions.cs.

◆ HasRoleAsync() [2/2]

async System.Threading.Tasks.Task< HasRoleResponse > kinetica.Kinetica.HasRoleAsync (stringprincipal,
stringrole,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Checks if the specified user has the specified role.

(async)

Parameters
principalName of the user for which role membership is being checked. Must be an existing user. If blank, will use the current user. The default value is ”.
roleName of role to check for membership.
optionsOptional parameters.The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 44270 of file KineticaFunctions.cs.