C# 클래스 Foretagsplatsen.Api.Resources.CompanyAgencyUserResource

Rest resource for agency users attached to a company https://web.foretagsplatsen.se/Api/Company/{businessIdentityCode}/AgencyUser/{username}/
파일 보기 프로젝트 열기: foretagsplatsen/Foretagsplatsen-DotNet-API

공개 메소드들

메소드 설명
Attach ( string username ) : void

Attach a detached agency user to a company

CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
Detach ( string username ) : void

Detach an attached agency user from a company

Get ( string username ) : UserInfo

Get an agency user that is attached to a company

List ( ) : List

Get a list of agency users attached to a company

비공개 메소드들

메소드 설명
GetCollectionUrl ( ) : string

Url for the companys' agency user collection resource

GetCompanyAgencyUserUrl ( string username ) : string

Url for the companys' agency user resource

메소드 상세

Attach() 공개 메소드

Attach a detached agency user to a company
public Attach ( string username ) : void
username string
리턴 void

CompanyAgencyUserResource() 공개 메소드

public CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
apiClient ApiClient
company Foretagsplatsen.Api.Entities.CompanyInfo
리턴 System

Detach() 공개 메소드

Detach an attached agency user from a company
public Detach ( string username ) : void
username string username to detach
리턴 void

Get() 공개 메소드

Get an agency user that is attached to a company
public Get ( string username ) : UserInfo
username string username of the agency user to get
리턴 Foretagsplatsen.Api.Entities.UserInfo

List() 공개 메소드

Get a list of agency users attached to a company
public List ( ) : List
리턴 List