Class UsersApiExecutor
Inheritance
System.Object
UsersApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class UsersApiExecutor : object
Constructors
|
Improve this Doc
View Source
UsersApiExecutor(ICrowdinApiClient)
Declaration
public UsersApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
UsersApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public UsersApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddProjectMember(Int32, AddProjectMemberRequest)
Declaration
public async Task<ProjectMembersResponse> AddProjectMember(int projectId, AddProjectMemberRequest request)
Parameters
Returns
|
Improve this Doc
View Source
DeleteMemberFromProject(Int32, Int32)
Declaration
public async Task DeleteMemberFromProject(int projectId, int memberId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
memberId |
|
Returns
|
Improve this Doc
View Source
DeleteUser(Int32)
Declaration
public async Task DeleteUser(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Returns
|
Improve this Doc
View Source
EditUser(Int32, IEnumerable<EnterpriseUserPatch>)
Declaration
public async Task<UserEnterprise> EditUser(int userId, IEnumerable<EnterpriseUserPatch> patches)
Parameters
Returns
|
Improve this Doc
View Source
GetAuthenticatedUser<T>()
Declaration
public async Task<T> GetAuthenticatedUser<T>()
where T : UserBase
Returns
Type Parameters
|
Improve this Doc
View Source
GetMemberInfo(Int32, Int32)
Declaration
public async Task<TeamMember> GetMemberInfo(int projectId, int memberId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
memberId |
|
Returns
|
Improve this Doc
View Source
GetProjectMemberPermissions(Int32, Int32)
Declaration
public async Task<ProjectMember> GetProjectMemberPermissions(int projectId, int memberId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
memberId |
|
Returns
|
Improve this Doc
View Source
GetUser(Int32)
Declaration
public async Task<UserEnterprise> GetUser(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Returns
|
Improve this Doc
View Source
InviteUser(EnterpriseInviteUserRequest)
Declaration
public async Task<UserEnterprise> InviteUser(EnterpriseInviteUserRequest request)
Parameters
Returns
|
Improve this Doc
View Source
ListProjectMembers(Int32, ProjectMembersListParams)
Declaration
public async Task<ResponseList<TeamMember>> ListProjectMembers(int projectId, ProjectMembersListParams params)
Parameters
Returns
|
Improve this Doc
View Source
ListProjectMembers(Int32, Nullable<String>, Nullable<UserRole>, Nullable<String>, Int32, Int32, Nullable<IEnumerable<SortingRule>>)
Declaration
public Task<ResponseList<TeamMember>> ListProjectMembers(int projectId, string? search = null, UserRole? role = null, string? languageId = null, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Nullable<System.String> |
search |
|
System.Nullable<UserRole> |
role |
|
System.Nullable<System.String> |
languageId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns
|
Improve this Doc
View Source
ListProjectMembersEnterprise(Int32, EnterpriseProjectMembersListParams)
Declaration
public async Task<ResponseList<ProjectMember>> ListProjectMembersEnterprise(int projectId, EnterpriseProjectMembersListParams params)
Parameters
Returns
|
Improve this Doc
View Source
ListProjectMembersEnterprise(Int32, Nullable<String>, Nullable<String>, Nullable<Int32>, Int32, Int32)
Declaration
public Task<ResponseList<ProjectMember>> ListProjectMembersEnterprise(int projectId, string? search = null, string? languageId = null, int? workflowStepId = null, int limit = 25, int offset = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Nullable<System.String> |
search |
|
System.Nullable<System.String> |
languageId |
|
System.Nullable<System.Int32> |
workflowStepId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
Returns
|
Improve this Doc
View Source
ListUsers(EnterpriseUsersListParams)
Declaration
public async Task<ResponseList<UserEnterprise>> ListUsers(EnterpriseUsersListParams params)
Parameters
Returns
|
Improve this Doc
View Source
ListUsers(Nullable<UserStatus>, Nullable<String>, Nullable<UserTwoFactorStatus>, Int32, Int32, Nullable<IEnumerable<SortingRule>>)
Declaration
public Task<ResponseList<UserEnterprise>> ListUsers(UserStatus? status = null, string? search = null, UserTwoFactorStatus? twoFactor = null, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Nullable<UserStatus> |
status |
|
System.Nullable<System.String> |
search |
|
System.Nullable<UserTwoFactorStatus> |
twoFactor |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns
|
Improve this Doc
View Source
ReplaceProjectMemberPermissions(Int32, Int32, ReplaceProjectMemberPermissionsRequest)
Declaration
public async Task<ProjectMember> ReplaceProjectMemberPermissions(int projectId, int memberId, ReplaceProjectMemberPermissionsRequest request)
Parameters
Returns