GetFullCompanyNameForUser Method
This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.[SECURITY CRITICAL]
Gets the full AX company name (e.g. "Demo Company") for the specified company name abbreviation in the context of the axUser Returns the empty string if the specified company name abbreviation does not exist.
Namespace: Microsoft.Dynamics.Framework.Reports
Assembly: Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)
Syntax
'Declaration
<SecurityCriticalAttribute> _
<ServiceContextRequiredAttribute> _
Public Shared Function GetFullCompanyNameForUser ( _
companyNameAbbreviation As String, _
axUser As String _
) As String
'Usage
Dim companyNameAbbreviation As String
Dim axUser As String
Dim returnValue As String
returnValue = DataMethodUtility.GetFullCompanyNameForUser(companyNameAbbreviation, _
axUser)
[SecurityCriticalAttribute]
[ServiceContextRequiredAttribute]
public static string GetFullCompanyNameForUser(
string companyNameAbbreviation,
string axUser
)
[SecurityCriticalAttribute]
[ServiceContextRequiredAttribute]
public:
static String^ GetFullCompanyNameForUser(
String^ companyNameAbbreviation,
String^ axUser
)
Parameters
- companyNameAbbreviation
Type: System.String
- axUser
Type: System.String
Return Value
Type: System.String
The full company name