Show / Hide Table of Contents

Class UserGroup

The main user group that this user belongs to

Carrier object for UserGroup. Services for the UserGroup Carrier is available from the User Agent.
Inheritance
object
UserGroup
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class UserGroup : Carrier
Examples

Get UserGroup 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new UserAgent();
   var userGroup = agent.GetUserGroup( 123 );
}

Constructors

UserGroup()

Default constructor

Declaration
public UserGroup()
See Also
IUserAgent

Properties

Deleted

Deleted equal to true means that this is a user group that no longer can be selected by the user. It is not permitted to delete a UserGroup.

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool
See Also
IUserAgent

Id

Primary key

Declaration
[DataMember]
public virtual int Id { get; set; }
Property Value
Type Description
int
See Also
IUserAgent

Rank

Rank order

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IUserAgent

Tooltip

Tooltip or other description

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string
See Also
IUserAgent

Value

UserGroup name

Declaration
[DataMember]
public virtual string Value { get; set; }
Property Value
Type Description
string
See Also
IUserAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IUserAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IUserAgent

See Also

IUserAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top